home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / mfinputs / textit / mf
Encoding:
Text File  |  1988-02-26  |  2.5 KB  |  59 lines

  1. % This is TEXTIT.MF in text format, as of Mar 31, 1986.
  2. % The Computer Modern Text Italic family (by D. E. Knuth, 1979--1985)
  3.  
  4. mode_setup; font_setup;
  5.  
  6. input itall;  % lower case (minuscules)
  7. input italsp;  % lowercase specials (dotless \i, ligature \ae, etc.)
  8. if ligs>1: font_coding_scheme:="TeX text";
  9.  spanish_shriek=oct"074"; spanish_query=oct"076";
  10.  input italig;  % letter ligatures
  11. else: font_coding_scheme:=if ligs=0: "TeX typewriter text"
  12.   else: "TeX text without f-ligatures" fi;
  13.  spanish_shriek=oct"016"; spanish_query=oct"017"; fi
  14.  
  15. font_slant slant; font_x_height x_height#;
  16. if monospace: font_normal_space 9u#; % no stretching or shrinking
  17.  font_quad 18u#;
  18.  font_extra_space 9u#;
  19.  letter_fit#:=letter_fit:=0;
  20. else: font_normal_space 6u#+2letter_fit#;
  21.  font_normal_stretch 3u#; font_normal_shrink 2u#;
  22.  font_quad 18u#+4letter_fit#;
  23.  font_extra_space 2u#; fi
  24.  
  25. input romanu;  % upper case (majuscules)
  26. input greeku;  % upper case greek letters
  27. input itald;  % numerals
  28. input italp;  % ampersand, question marks, currency sign
  29. input romspu;  % uppercase specials (\AE, \OE, \O)
  30. input punct;  % punctuation symbols common to roman and italic text
  31. input accent;  % accents common to roman and italic text
  32. if ligs>0: input comlig; fi  % ligatures common with roman text
  33. if ligs<=1: input romsub; fi  % substitutes for ligatures
  34.  
  35. ligtable "!": "`" =: spanish_shriek;
  36. ligtable "?": "`" =: spanish_query;
  37.  
  38. if not monospace:
  39.  k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning
  40.  ligtable "d": "w": "l": "l" kern +u#;
  41.  ligtable "F": "V": "o" kern kk#, "e" kern kk#,
  42.    "u" kern kk#, "r" kern kk#, "a" kern kk#, "A" kern kkk#,
  43.   "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#;
  44.  ligtable "T": "y" kern kk#,
  45.   "Y": "e" kern kk#, "o" kern kk#, "r" kern kk#, "a" kern kk#, "u" kern kk#,
  46.   "P": "W": "A" kern kk#;
  47.  ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#,
  48.    "V" kern k#, "Y" kern k#;
  49.  ligtable "A": "R": "n" kern k#, "l" kern k#, "r" kern k#, "u" kern k#,
  50.    "m" kern k#, "t" kern k#, "i" kern k#, "C" kern k#, "O" kern k#, "G" kern k#,
  51.    "h" kern k#, "b" kern k#, "U" kern k#, "k" kern k#, "v" kern k#, "w" kern k#,
  52.    "Q" kern k#, "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#,
  53.   "b": "c": "e": "o": "p": "r": "e" kern -u#, "a" kern -u#, "o" kern -u#,
  54.    "d" kern -u#, "c" kern -u#, "g" kern -u#, "q" kern -u#;
  55.  ligtable "n": "'" kern kkk#; fi
  56. % there are ligature/kern programs for |"f"| in the {\tt italig} file
  57. % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file
  58. bye.
  59.